[INFO] cloning repository https://github.com/nasen23/compiler-lab
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nasen23/compiler-lab" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnasen23%2Fcompiler-lab", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnasen23%2Fcompiler-lab'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fc17b16f1100815494eaf875d815ca188d8738ea
[INFO] building nasen23/compiler-lab against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnasen23%2Fcompiler-lab" "/workspace/builds/worker-14/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/nasen23/compiler-lab on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/nasen23/compiler-lab
[INFO] finished tweaking git repo https://github.com/nasen23/compiler-lab
[INFO] tweaked toml for git repo https://github.com/nasen23/compiler-lab written to /workspace/builds/worker-14/source/Cargo.toml
[INFO] crate git repo https://github.com/nasen23/compiler-lab already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: /workspace/builds/worker-14/source/llvmgen/Cargo.toml: unused manifest key: dependencies.failure.feature
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 8da7f27d51c304be79bbb382b568e5b6c8643a4a551026f000572bc69f0c2287
[INFO] running `Command { std: "docker" "start" "-a" "8da7f27d51c304be79bbb382b568e5b6c8643a4a551026f000572bc69f0c2287", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8da7f27d51c304be79bbb382b568e5b6c8643a4a551026f000572bc69f0c2287", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8da7f27d51c304be79bbb382b568e5b6c8643a4a551026f000572bc69f0c2287", kill_on_drop: false }`
[INFO] [stdout] 8da7f27d51c304be79bbb382b568e5b6c8643a4a551026f000572bc69f0c2287
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e9b5415ab39d8a711f37fdfe3fa96653458aac6dcbcac57c4ab1019ea8a09a92
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "e9b5415ab39d8a711f37fdfe3fa96653458aac6dcbcac57c4ab1019ea8a09a92", kill_on_drop: false }`
[INFO] [stderr] warning: /opt/rustwide/workdir/llvmgen/Cargo.toml: unused manifest key: dependencies.failure.feature
[INFO] [stderr]    Compiling cc v1.0.48
[INFO] [stderr]    Compiling libc v0.2.66
[INFO] [stderr]    Compiling syn v1.0.11
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling bit-vec v0.4.4
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling vec_map v0.6.0
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling lalr v0.0.2
[INFO] [stderr]    Compiling proc-macro2 v1.0.6
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling bit-set v0.4.0
[INFO] [stderr]    Compiling regex v1.3.1
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling redfa v0.0.2
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling backtrace-sys v0.1.32
[INFO] [stderr]    Compiling backtrace v0.3.40
[INFO] [stderr]    Compiling llvm-sys v90.0.0
[INFO] [stderr]    Compiling synstructure v0.12.3
[INFO] [stderr]    Compiling failure_derive v0.1.6
[INFO] [stderr]    Compiling failure v0.1.6
[INFO] [stderr]    Compiling plex v0.2.5
[INFO] [stderr]    Compiling cparser v0.1.0 (/opt/rustwide/workdir/cparser)
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> cparser/src/parser.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 76 |         Enum Id(name) LBrc valuelist[mem] RBrc => ty::Enum {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_braces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> cparser/src/parser.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |         ty[ty] Id(name) LPar parameter_list_or_empty[defs] RPar block[block] => FuncDef {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> cparser/src/parser.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |         ty[ty] Id(name) LPar parameter_list_or_empty[defs] RPar Semi => FuncDef {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]    --> cparser/src/parser.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |         ty[ty] Id(s) => VarDef { ty, name: s, value: None, loc: span!() }
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]    --> cparser/src/parser.rs:251:9
[INFO] [stdout]     |
[INFO] [stdout] 251 |         post_expr[l] Dot Id(r) => mk_bin(l, Expr::Id(r, span!()), BinOp::Dot, span!()),
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]    --> cparser/src/parser.rs:252:9
[INFO] [stdout]     |
[INFO] [stdout] 252 |         post_expr[l] Arrow Id(r) => mk_bin(l, Expr::Id(r, span!()), BinOp::Arrow, span!()),
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]    --> cparser/src/parser.rs:236:9
[INFO] [stdout]     |
[INFO] [stdout] 236 |         Id(name) => Expr::Id(name, span!()),
[INFO] [stdout]     |         ^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]    --> cparser/src/parser.rs:237:9
[INFO] [stdout]     |
[INFO] [stdout] 237 |         IntLit(i) => Expr::IntLit(i, span!()),
[INFO] [stdout]     |         ^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]    --> cparser/src/parser.rs:238:9
[INFO] [stdout]     |
[INFO] [stdout] 238 |         CharLit(i) => Expr::CharLit(i, span!()),
[INFO] [stdout]     |         ^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]    --> cparser/src/parser.rs:239:9
[INFO] [stdout]     |
[INFO] [stdout] 239 |         DoubleLit(i) => Expr::FloatLit(i, span!()),
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]    --> cparser/src/parser.rs:240:9
[INFO] [stdout]     |
[INFO] [stdout] 240 |         StringLit(i) => Expr::StringLit(i, span!()),
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> cparser/src/parser.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |         Struct Id(name) => ty::Struct {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> cparser/src/parser.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |         Struct Id(name) structbody[mem] => ty::Struct {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> cparser/src/parser.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |         Typedef ty[ty] Id(name) => TypeDef {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> cparser/src/parser.rs:93:9
[INFO] [stdout]    |
[INFO] [stdout] 93 |         Id(name) => (name, None),
[INFO] [stdout]    |         ^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> cparser/src/parser.rs:94:9
[INFO] [stdout]    |
[INFO] [stdout] 94 |         Id(name) Assign IntLit(val) => (name, Some(val))
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]    --> cparser/src/parser.rs:127:9
[INFO] [stdout]     |
[INFO] [stdout] 127 |         ty[ty] Id(name) => VarDef { // int a
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]    --> cparser/src/parser.rs:132:9
[INFO] [stdout]     |
[INFO] [stdout] 132 |         ty[ty] Id(name) Assign expr[e] => VarDef {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]    --> cparser/src/parser.rs:136:9
[INFO] [stdout]     |
[INFO] [stdout] 136 |         ty[ty] Id(name) LBrk IntLit(len) RBrk => VarDef {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f_`
[INFO] [stdout]    --> cparser/src/ast.rs:228:21
[INFO] [stdout]     |
[INFO] [stdout] 228 |             For(ref f_) => write!(f, "for"),
[INFO] [stdout]     |                     ^^ help: if this is intentional, prefix it with an underscore: `_f_`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> cparser/src/ty.rs:153:21
[INFO] [stdout]     |
[INFO] [stdout] 153 |         if let Some(name) = &self.name {
[INFO] [stdout]     |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> cparser/src/lexer.rs:191:21
[INFO] [stdout]     |
[INFO] [stdout] 191 |         _ => panic!(format!("Unknown escape character '{}'", tok)),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_fmt_panic)]` on by default
[INFO] [stdout]     = note: this is no longer accepted in Rust 2021
[INFO] [stdout]     = note: the panic!() macro supports formatting, so there's no need for the format!() macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 191 |         _ => panic!("Unknown escape character '{}'", tok),
[INFO] [stdout]     |                    --                                  --
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> cparser/src/ty.rs:154:13
[INFO] [stdout]     |
[INFO] [stdout] 154 |             write!(f, "defstruct {}: {{\n", self.name.as_ref().unwrap());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> cparser/src/ty.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 |             write!(f, "defstruct: {{\n");
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> cparser/src/ty.rs:159:13
[INFO] [stdout]     |
[INFO] [stdout] 159 |             write!(f, "{}", mem);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> cparser/src/ty.rs:161:9
[INFO] [stdout]     |
[INFO] [stdout] 161 |         write!(f, "}}");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling llvmgen v0.1.0 (/opt/rustwide/workdir/llvmgen)
[INFO] [stdout] warning: unused import: `LLVMType`
[INFO] [stdout]  --> llvmgen/src/llvm.rs:3:68
[INFO] [stdout]   |
[INFO] [stdout] 3 | use llvm_sys::{LLVMValueKind, LLVMIntPredicate, LLVMRealPredicate, LLVMType, LLVMTypeKind};
[INFO] [stdout]   |                                                                    ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> llvmgen/src/compiler.rs:428:25
[INFO] [stdout]     |
[INFO] [stdout] 427 |                         let index = unimplemented!();
[INFO] [stdout]     |                                     ---------------- any code following this expression is unreachable
[INFO] [stdout] 428 |                         let index = LLVMConstInt(LLVMInt32Type(), index, 0);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> llvmgen/src/compiler.rs:437:25
[INFO] [stdout]     |
[INFO] [stdout] 436 |                         let index = unimplemented!();
[INFO] [stdout]     |                                     ---------------- any code following this expression is unreachable
[INFO] [stdout] 437 |                         let index = LLVMConstInt(LLVMInt32Type(), index, 0);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> llvmgen/src/compiler.rs:424:21
[INFO] [stdout]     |
[INFO] [stdout] 411 |                     Brk => unsafe {
[INFO] [stdout]     |                     --- matches any value
[INFO] [stdout] ...
[INFO] [stdout] 424 |                     Dot => unsafe {
[INFO] [stdout]     |                     ^^^ unreachable pattern
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> llvmgen/src/compiler.rs:433:21
[INFO] [stdout]     |
[INFO] [stdout] 411 |                     Brk => unsafe {
[INFO] [stdout]     |                     --- matches any value
[INFO] [stdout] ...
[INFO] [stdout] 433 |                     Arrow => unsafe {
[INFO] [stdout]     |                     ^^^^^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> llvmgen/src/compiler.rs:442:21
[INFO] [stdout]     |
[INFO] [stdout] 411 |                     Brk => unsafe {
[INFO] [stdout]     |                     --- matches any value
[INFO] [stdout] ...
[INFO] [stdout] 442 |                     _ => unreachable!()
[INFO] [stdout]     |                     ^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cname`
[INFO] [stdout]    --> llvmgen/src/compiler.rs:130:25
[INFO] [stdout]     |
[INFO] [stdout] 130 |                     let cname = cstr(&name);
[INFO] [stdout]     |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_cname`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rhs`
[INFO] [stdout]    --> llvmgen/src/compiler.rs:408:29
[INFO] [stdout]     |
[INFO] [stdout] 408 |                         let rhs = self.compile_expr(*binary.r)?;
[INFO] [stdout]     |                             ^^^ help: if this is intentional, prefix it with an underscore: `_rhs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `Brk`
[INFO] [stdout]    --> llvmgen/src/compiler.rs:411:21
[INFO] [stdout]     |
[INFO] [stdout] 411 |                     Brk => unsafe {
[INFO] [stdout]     |                     ^^^ help: if this is intentional, prefix it with an underscore: `_Brk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lhs`
[INFO] [stdout]    --> llvmgen/src/compiler.rs:425:29
[INFO] [stdout]     |
[INFO] [stdout] 425 |                         let lhs = self.compile_pointer_expr(*binary.l)?;
[INFO] [stdout]     |                             ^^^ help: if this is intentional, prefix it with an underscore: `_lhs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> llvmgen/src/compiler.rs:427:29
[INFO] [stdout]     |
[INFO] [stdout] 427 |                         let index = unimplemented!();
[INFO] [stdout]     |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lhs`
[INFO] [stdout]    --> llvmgen/src/compiler.rs:434:29
[INFO] [stdout]     |
[INFO] [stdout] 434 |                         let lhs = self.compile_expr(*binary.l)?;
[INFO] [stdout]     |                             ^^^ help: if this is intentional, prefix it with an underscore: `_lhs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> llvmgen/src/compiler.rs:436:29
[INFO] [stdout]     |
[INFO] [stdout] 436 |                         let index = unimplemented!();
[INFO] [stdout]     |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]    --> llvmgen/src/compiler.rs:570:25
[INFO] [stdout]     |
[INFO] [stdout] 570 |                     let result = self.llvm.condbr(tmp, loop_, end);
[INFO] [stdout]     |                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dowhile`
[INFO] [stdout]    --> llvmgen/src/compiler.rs:588:25
[INFO] [stdout]     |
[INFO] [stdout] 588 |                 DoWhile(dowhile) => {
[INFO] [stdout]     |                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dowhile`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]    --> llvmgen/src/compiler.rs:617:25
[INFO] [stdout]     |
[INFO] [stdout] 617 |                     let result = self.llvm.condbr(tmp, loop_, end);
[INFO] [stdout]     |                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `typedef`
[INFO] [stdout]    --> llvmgen/src/compiler.rs:669:31
[INFO] [stdout]     |
[INFO] [stdout] 669 |                 Decl::TypeDef(typedef) => {
[INFO] [stdout]     |                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typedef`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `var`
[INFO] [stdout]    --> llvmgen/src/compiler.rs:674:25
[INFO] [stdout]     |
[INFO] [stdout] 674 |                     let var = self.llvm.add_global(ty, &vardef.name);
[INFO] [stdout]     |                         ^^^ help: if this is intentional, prefix it with an underscore: `_var`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `struct_`
[INFO] [stdout]    --> llvmgen/src/compiler.rs:720:33
[INFO] [stdout]     |
[INFO] [stdout] 720 |                 Decl::StructDef(struct_) => {
[INFO] [stdout]     |                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_struct_`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `enum_`
[INFO] [stdout]    --> llvmgen/src/compiler.rs:723:31
[INFO] [stdout]     |
[INFO] [stdout] 723 |                 Decl::EnumDef(enum_) => {
[INFO] [stdout]     |                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_enum_`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `signed`
[INFO] [stdout]   --> llvmgen/src/llvm.rs:97:22
[INFO] [stdout]    |
[INFO] [stdout] 97 |                 Char(signed) => LLVMInt8Type(),
[INFO] [stdout]    |                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_signed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `signed`
[INFO] [stdout]   --> llvmgen/src/llvm.rs:98:23
[INFO] [stdout]    |
[INFO] [stdout] 98 |                 Short(signed) => LLVMInt16Type(),
[INFO] [stdout]    |                       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_signed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `signed`
[INFO] [stdout]   --> llvmgen/src/llvm.rs:99:21
[INFO] [stdout]    |
[INFO] [stdout] 99 |                 Int(signed) => LLVMInt32Type(),
[INFO] [stdout]    |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_signed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `signed`
[INFO] [stdout]    --> llvmgen/src/llvm.rs:100:22
[INFO] [stdout]     |
[INFO] [stdout] 100 |                 Long(signed) => LLVMInt64Type(),
[INFO] [stdout]     |                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_signed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `signed`
[INFO] [stdout]    --> llvmgen/src/llvm.rs:101:23
[INFO] [stdout]     |
[INFO] [stdout] 101 |                 LLong(signed) => LLVMInt128Type(),
[INFO] [stdout]     |                       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_signed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `struct_`
[INFO] [stdout]    --> llvmgen/src/llvm.rs:106:24
[INFO] [stdout]     |
[INFO] [stdout] 106 |                 Struct(struct_) => unimplemented!(),
[INFO] [stdout]     |                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_struct_`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `union`
[INFO] [stdout]    --> llvmgen/src/llvm.rs:107:23
[INFO] [stdout]     |
[INFO] [stdout] 107 |                 Union(union) => unimplemented!(),
[INFO] [stdout]     |                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_union`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `enum_`
[INFO] [stdout]    --> llvmgen/src/llvm.rs:108:22
[INFO] [stdout]     |
[INFO] [stdout] 108 |                 Enum(enum_) => unimplemented!(),
[INFO] [stdout]     |                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_enum_`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]    --> llvmgen/src/llvm.rs:162:13
[INFO] [stdout]     |
[INFO] [stdout] 162 |         let result = self.build_icmp_signed("!=", value, zero);
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Brk` should have a snake case name
[INFO] [stdout]    --> llvmgen/src/compiler.rs:411:21
[INFO] [stdout]     |
[INFO] [stdout] 411 |                     Brk => unsafe {
[INFO] [stdout]     |                     ^^^ help: convert the identifier to snake case: `brk`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 30 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 26 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling compiler v0.1.0 (/opt/rustwide/workdir/compiler)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1m 32s
[INFO] running `Command { std: "docker" "inspect" "e9b5415ab39d8a711f37fdfe3fa96653458aac6dcbcac57c4ab1019ea8a09a92", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e9b5415ab39d8a711f37fdfe3fa96653458aac6dcbcac57c4ab1019ea8a09a92", kill_on_drop: false }`
[INFO] [stdout] e9b5415ab39d8a711f37fdfe3fa96653458aac6dcbcac57c4ab1019ea8a09a92
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 26079496cf898d42016f10bc270626cc067efd85c4c446018ea365780727aff8
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "26079496cf898d42016f10bc270626cc067efd85c4c446018ea365780727aff8", kill_on_drop: false }`
[INFO] [stderr] warning: /opt/rustwide/workdir/llvmgen/Cargo.toml: unused manifest key: dependencies.failure.feature
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> cparser/src/parser.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 76 |         Enum Id(name) LBrc valuelist[mem] RBrc => ty::Enum {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_braces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> cparser/src/parser.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |         ty[ty] Id(name) LPar parameter_list_or_empty[defs] RPar block[block] => FuncDef {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> cparser/src/parser.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |         ty[ty] Id(name) LPar parameter_list_or_empty[defs] RPar Semi => FuncDef {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]    --> cparser/src/parser.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |         ty[ty] Id(s) => VarDef { ty, name: s, value: None, loc: span!() }
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]    --> cparser/src/parser.rs:251:9
[INFO] [stdout]     |
[INFO] [stdout] 251 |         post_expr[l] Dot Id(r) => mk_bin(l, Expr::Id(r, span!()), BinOp::Dot, span!()),
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]    --> cparser/src/parser.rs:252:9
[INFO] [stdout]     |
[INFO] [stdout] 252 |         post_expr[l] Arrow Id(r) => mk_bin(l, Expr::Id(r, span!()), BinOp::Arrow, span!()),
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]    --> cparser/src/parser.rs:236:9
[INFO] [stdout]     |
[INFO] [stdout] 236 |         Id(name) => Expr::Id(name, span!()),
[INFO] [stdout]     |         ^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]    --> cparser/src/parser.rs:237:9
[INFO] [stdout]     |
[INFO] [stdout] 237 |         IntLit(i) => Expr::IntLit(i, span!()),
[INFO] [stdout]     |         ^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]    --> cparser/src/parser.rs:238:9
[INFO] [stdout]     |
[INFO] [stdout] 238 |         CharLit(i) => Expr::CharLit(i, span!()),
[INFO] [stdout]     |         ^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]    --> cparser/src/parser.rs:239:9
[INFO] [stdout]     |
[INFO] [stdout] 239 |         DoubleLit(i) => Expr::FloatLit(i, span!()),
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]    --> cparser/src/parser.rs:240:9
[INFO] [stdout]     |
[INFO] [stdout] 240 |         StringLit(i) => Expr::StringLit(i, span!()),
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> cparser/src/parser.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |         Struct Id(name) => ty::Struct {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> cparser/src/parser.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |         Struct Id(name) structbody[mem] => ty::Struct {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> cparser/src/parser.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |         Typedef ty[ty] Id(name) => TypeDef {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> cparser/src/parser.rs:93:9
[INFO] [stdout]    |
[INFO] [stdout] 93 |         Id(name) => (name, None),
[INFO] [stdout]    |         ^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> cparser/src/parser.rs:94:9
[INFO] [stdout]    |
[INFO] [stdout] 94 |         Id(name) Assign IntLit(val) => (name, Some(val))
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]    --> cparser/src/parser.rs:127:9
[INFO] [stdout]     |
[INFO] [stdout] 127 |         ty[ty] Id(name) => VarDef { // int a
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]    --> cparser/src/parser.rs:132:9
[INFO] [stdout]     |
[INFO] [stdout] 132 |         ty[ty] Id(name) Assign expr[e] => VarDef {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]    --> cparser/src/parser.rs:136:9
[INFO] [stdout]     |
[INFO] [stdout] 136 |         ty[ty] Id(name) LBrk IntLit(len) RBrk => VarDef {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f_`
[INFO] [stdout]    --> cparser/src/ast.rs:228:21
[INFO] [stdout]     |
[INFO] [stdout] 228 |             For(ref f_) => write!(f, "for"),
[INFO] [stdout]     |                     ^^ help: if this is intentional, prefix it with an underscore: `_f_`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> cparser/src/ty.rs:153:21
[INFO] [stdout]     |
[INFO] [stdout] 153 |         if let Some(name) = &self.name {
[INFO] [stdout]     |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> cparser/src/lexer.rs:191:21
[INFO] [stdout]     |
[INFO] [stdout] 191 |         _ => panic!(format!("Unknown escape character '{}'", tok)),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_fmt_panic)]` on by default
[INFO] [stdout]     = note: this is no longer accepted in Rust 2021
[INFO] [stdout]     = note: the panic!() macro supports formatting, so there's no need for the format!() macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 191 |         _ => panic!("Unknown escape character '{}'", tok),
[INFO] [stdout]     |                    --                                  --
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> cparser/src/ty.rs:154:13
[INFO] [stdout]     |
[INFO] [stdout] 154 |             write!(f, "defstruct {}: {{\n", self.name.as_ref().unwrap());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> cparser/src/ty.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 |             write!(f, "defstruct: {{\n");
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> cparser/src/ty.rs:159:13
[INFO] [stdout]     |
[INFO] [stdout] 159 |             write!(f, "{}", mem);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> cparser/src/ty.rs:161:9
[INFO] [stdout]     |
[INFO] [stdout] 161 |         write!(f, "}}");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 26 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LLVMType`
[INFO] [stdout]  --> llvmgen/src/llvm.rs:3:68
[INFO] [stdout]   |
[INFO] [stdout] 3 | use llvm_sys::{LLVMValueKind, LLVMIntPredicate, LLVMRealPredicate, LLVMType, LLVMTypeKind};
[INFO] [stdout]   |                                                                    ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> llvmgen/src/compiler.rs:428:25
[INFO] [stdout]     |
[INFO] [stdout] 427 |                         let index = unimplemented!();
[INFO] [stdout]     |                                     ---------------- any code following this expression is unreachable
[INFO] [stdout] 428 |                         let index = LLVMConstInt(LLVMInt32Type(), index, 0);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> llvmgen/src/compiler.rs:437:25
[INFO] [stdout]     |
[INFO] [stdout] 436 |                         let index = unimplemented!();
[INFO] [stdout]     |                                     ---------------- any code following this expression is unreachable
[INFO] [stdout] 437 |                         let index = LLVMConstInt(LLVMInt32Type(), index, 0);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> llvmgen/src/compiler.rs:424:21
[INFO] [stdout]     |
[INFO] [stdout] 411 |                     Brk => unsafe {
[INFO] [stdout]     |                     --- matches any value
[INFO] [stdout] ...
[INFO] [stdout] 424 |                     Dot => unsafe {
[INFO] [stdout]     |                     ^^^ unreachable pattern
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> llvmgen/src/compiler.rs:433:21
[INFO] [stdout]     |
[INFO] [stdout] 411 |                     Brk => unsafe {
[INFO] [stdout]     |                     --- matches any value
[INFO] [stdout] ...
[INFO] [stdout] 433 |                     Arrow => unsafe {
[INFO] [stdout]     |                     ^^^^^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> llvmgen/src/compiler.rs:442:21
[INFO] [stdout]     |
[INFO] [stdout] 411 |                     Brk => unsafe {
[INFO] [stdout]     |                     --- matches any value
[INFO] [stdout] ...
[INFO] [stdout] 442 |                     _ => unreachable!()
[INFO] [stdout]     |                     ^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cname`
[INFO] [stdout]    --> llvmgen/src/compiler.rs:130:25
[INFO] [stdout]     |
[INFO] [stdout] 130 |                     let cname = cstr(&name);
[INFO] [stdout]     |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_cname`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rhs`
[INFO] [stdout]    --> llvmgen/src/compiler.rs:408:29
[INFO] [stdout]     |
[INFO] [stdout] 408 |                         let rhs = self.compile_expr(*binary.r)?;
[INFO] [stdout]     |                             ^^^ help: if this is intentional, prefix it with an underscore: `_rhs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `Brk`
[INFO] [stdout]    --> llvmgen/src/compiler.rs:411:21
[INFO] [stdout]     |
[INFO] [stdout] 411 |                     Brk => unsafe {
[INFO] [stdout]     |                     ^^^ help: if this is intentional, prefix it with an underscore: `_Brk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lhs`
[INFO] [stdout]    --> llvmgen/src/compiler.rs:425:29
[INFO] [stdout]     |
[INFO] [stdout] 425 |                         let lhs = self.compile_pointer_expr(*binary.l)?;
[INFO] [stdout]     |                             ^^^ help: if this is intentional, prefix it with an underscore: `_lhs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> llvmgen/src/compiler.rs:427:29
[INFO] [stdout]     |
[INFO] [stdout] 427 |                         let index = unimplemented!();
[INFO] [stdout]     |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lhs`
[INFO] [stdout]    --> llvmgen/src/compiler.rs:434:29
[INFO] [stdout]     |
[INFO] [stdout] 434 |                         let lhs = self.compile_expr(*binary.l)?;
[INFO] [stdout]     |                             ^^^ help: if this is intentional, prefix it with an underscore: `_lhs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> llvmgen/src/compiler.rs:436:29
[INFO] [stdout]     |
[INFO] [stdout] 436 |                         let index = unimplemented!();
[INFO] [stdout]     |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]    --> llvmgen/src/compiler.rs:570:25
[INFO] [stdout]     |
[INFO] [stdout] 570 |                     let result = self.llvm.condbr(tmp, loop_, end);
[INFO] [stdout]     |                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dowhile`
[INFO] [stdout]    --> llvmgen/src/compiler.rs:588:25
[INFO] [stdout]     |
[INFO] [stdout] 588 |                 DoWhile(dowhile) => {
[INFO] [stdout]     |                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dowhile`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]    --> llvmgen/src/compiler.rs:617:25
[INFO] [stdout]     |
[INFO] [stdout] 617 |                     let result = self.llvm.condbr(tmp, loop_, end);
[INFO] [stdout]     |                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `typedef`
[INFO] [stdout]    --> llvmgen/src/compiler.rs:669:31
[INFO] [stdout]     |
[INFO] [stdout] 669 |                 Decl::TypeDef(typedef) => {
[INFO] [stdout]     |                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typedef`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `var`
[INFO] [stdout]    --> llvmgen/src/compiler.rs:674:25
[INFO] [stdout]     |
[INFO] [stdout] 674 |                     let var = self.llvm.add_global(ty, &vardef.name);
[INFO] [stdout]     |                         ^^^ help: if this is intentional, prefix it with an underscore: `_var`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `struct_`
[INFO] [stdout]    --> llvmgen/src/compiler.rs:720:33
[INFO] [stdout]     |
[INFO] [stdout] 720 |                 Decl::StructDef(struct_) => {
[INFO] [stdout]     |                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_struct_`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `enum_`
[INFO] [stdout]    --> llvmgen/src/compiler.rs:723:31
[INFO] [stdout]     |
[INFO] [stdout] 723 |                 Decl::EnumDef(enum_) => {
[INFO] [stdout]     |                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_enum_`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `signed`
[INFO] [stdout]   --> llvmgen/src/llvm.rs:97:22
[INFO] [stdout]    |
[INFO] [stdout] 97 |                 Char(signed) => LLVMInt8Type(),
[INFO] [stdout]    |                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_signed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `signed`
[INFO] [stdout]   --> llvmgen/src/llvm.rs:98:23
[INFO] [stdout]    |
[INFO] [stdout] 98 |                 Short(signed) => LLVMInt16Type(),
[INFO] [stdout]    |                       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_signed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `signed`
[INFO] [stdout]   --> llvmgen/src/llvm.rs:99:21
[INFO] [stdout]    |
[INFO] [stdout] 99 |                 Int(signed) => LLVMInt32Type(),
[INFO] [stdout]    |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_signed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `signed`
[INFO] [stdout]    --> llvmgen/src/llvm.rs:100:22
[INFO] [stdout]     |
[INFO] [stdout] 100 |                 Long(signed) => LLVMInt64Type(),
[INFO] [stdout]     |                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_signed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `signed`
[INFO] [stdout]    --> llvmgen/src/llvm.rs:101:23
[INFO] [stdout]     |
[INFO] [stdout] 101 |                 LLong(signed) => LLVMInt128Type(),
[INFO] [stdout]     |                       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_signed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `struct_`
[INFO] [stdout]    --> llvmgen/src/llvm.rs:106:24
[INFO] [stdout]     |
[INFO] [stdout] 106 |                 Struct(struct_) => unimplemented!(),
[INFO] [stdout]     |                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_struct_`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `union`
[INFO] [stdout]    --> llvmgen/src/llvm.rs:107:23
[INFO] [stdout]     |
[INFO] [stdout] 107 |                 Union(union) => unimplemented!(),
[INFO] [stdout]     |                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_union`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `enum_`
[INFO] [stdout]    --> llvmgen/src/llvm.rs:108:22
[INFO] [stdout]     |
[INFO] [stdout] 108 |                 Enum(enum_) => unimplemented!(),
[INFO] [stdout]     |                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_enum_`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]    --> llvmgen/src/llvm.rs:162:13
[INFO] [stdout]     |
[INFO] [stdout] 162 |         let result = self.build_icmp_signed("!=", value, zero);
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Brk` should have a snake case name
[INFO] [stdout]    --> llvmgen/src/compiler.rs:411:21
[INFO] [stdout]     |
[INFO] [stdout] 411 |                     Brk => unsafe {
[INFO] [stdout]     |                     ^^^ help: convert the identifier to snake case: `brk`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 30 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling cparser v0.1.0 (/opt/rustwide/workdir/cparser)
[INFO] [stderr]    Compiling llvmgen v0.1.0 (/opt/rustwide/workdir/llvmgen)
[INFO] [stderr]    Compiling compiler v0.1.0 (/opt/rustwide/workdir/compiler)
[INFO] [stdout] error[E0425]: cannot find function `compile_program` in this scope
[INFO] [stdout]    --> llvmgen/src/compiler.rs:758:9
[INFO] [stdout]     |
[INFO] [stdout] 758 |         compile_program(program, &mut llvm).expect("shouldn't fail");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `compile_program` in this scope
[INFO] [stdout]    --> llvmgen/src/compiler.rs:776:9
[INFO] [stdout]     |
[INFO] [stdout] 776 |         compile_program(program, &mut llvm).expect("shouldn't fail");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `compile_program` in this scope
[INFO] [stdout]    --> llvmgen/src/compiler.rs:793:9
[INFO] [stdout]     |
[INFO] [stdout] 793 |         compile_program(program, &mut llvm).expect("shouldn't fail");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `compile_program` in this scope
[INFO] [stdout]    --> llvmgen/src/compiler.rs:810:9
[INFO] [stdout]     |
[INFO] [stdout] 810 |         compile_program(program, &mut llvm).expect("shouldn't fail");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `compile_program` in this scope
[INFO] [stdout]    --> llvmgen/src/compiler.rs:825:9
[INFO] [stdout]     |
[INFO] [stdout] 825 |         compile_program(program, &mut llvm).expect("shouldn't fail");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `compile_program` in this scope
[INFO] [stdout]    --> llvmgen/src/compiler.rs:844:9
[INFO] [stdout]     |
[INFO] [stdout] 844 |         compile_program(program, &mut llvm).expect("shouldn't fail");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `compile_program` in this scope
[INFO] [stdout]    --> llvmgen/src/compiler.rs:862:9
[INFO] [stdout]     |
[INFO] [stdout] 862 |         compile_program(program, &mut llvm).expect("shouldn't fail");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `compile_program` in this scope
[INFO] [stdout]    --> llvmgen/src/compiler.rs:880:9
[INFO] [stdout]     |
[INFO] [stdout] 880 |         compile_program(program, &mut llvm).expect("shouldn't fail");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `compile_program` in this scope
[INFO] [stdout]    --> llvmgen/src/compiler.rs:896:9
[INFO] [stdout]     |
[INFO] [stdout] 896 |         compile_program(program, &mut llvm).expect("shouldn't fail");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]    --> llvmgen/src/compiler.rs:752:9
[INFO] [stdout]     |
[INFO] [stdout] 752 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LLVMType`
[INFO] [stdout]  --> llvmgen/src/llvm.rs:3:68
[INFO] [stdout]   |
[INFO] [stdout] 3 | use llvm_sys::{LLVMValueKind, LLVMIntPredicate, LLVMRealPredicate, LLVMType, LLVMTypeKind};
[INFO] [stdout]   |                                                                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> llvmgen/src/compiler.rs:428:25
[INFO] [stdout]     |
[INFO] [stdout] 427 |                         let index = unimplemented!();
[INFO] [stdout]     |                                     ---------------- any code following this expression is unreachable
[INFO] [stdout] 428 |                         let index = LLVMConstInt(LLVMInt32Type(), index, 0);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> llvmgen/src/compiler.rs:437:25
[INFO] [stdout]     |
[INFO] [stdout] 436 |                         let index = unimplemented!();
[INFO] [stdout]     |                                     ---------------- any code following this expression is unreachable
[INFO] [stdout] 437 |                         let index = LLVMConstInt(LLVMInt32Type(), index, 0);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `llvmgen`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> cparser/src/parser.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 76 |         Enum Id(name) LBrc valuelist[mem] RBrc => ty::Enum {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_braces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> cparser/src/parser.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |         ty[ty] Id(name) LPar parameter_list_or_empty[defs] RPar block[block] => FuncDef {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> cparser/src/parser.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |         ty[ty] Id(name) LPar parameter_list_or_empty[defs] RPar Semi => FuncDef {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]    --> cparser/src/parser.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |         ty[ty] Id(s) => VarDef { ty, name: s, value: None, loc: span!() }
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]    --> cparser/src/parser.rs:251:9
[INFO] [stdout]     |
[INFO] [stdout] 251 |         post_expr[l] Dot Id(r) => mk_bin(l, Expr::Id(r, span!()), BinOp::Dot, span!()),
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]    --> cparser/src/parser.rs:252:9
[INFO] [stdout]     |
[INFO] [stdout] 252 |         post_expr[l] Arrow Id(r) => mk_bin(l, Expr::Id(r, span!()), BinOp::Arrow, span!()),
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]    --> cparser/src/parser.rs:236:9
[INFO] [stdout]     |
[INFO] [stdout] 236 |         Id(name) => Expr::Id(name, span!()),
[INFO] [stdout]     |         ^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]    --> cparser/src/parser.rs:237:9
[INFO] [stdout]     |
[INFO] [stdout] 237 |         IntLit(i) => Expr::IntLit(i, span!()),
[INFO] [stdout]     |         ^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]    --> cparser/src/parser.rs:238:9
[INFO] [stdout]     |
[INFO] [stdout] 238 |         CharLit(i) => Expr::CharLit(i, span!()),
[INFO] [stdout]     |         ^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]    --> cparser/src/parser.rs:239:9
[INFO] [stdout]     |
[INFO] [stdout] 239 |         DoubleLit(i) => Expr::FloatLit(i, span!()),
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]    --> cparser/src/parser.rs:240:9
[INFO] [stdout]     |
[INFO] [stdout] 240 |         StringLit(i) => Expr::StringLit(i, span!()),
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> cparser/src/parser.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |         Struct Id(name) => ty::Struct {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> cparser/src/parser.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |         Struct Id(name) structbody[mem] => ty::Struct {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> cparser/src/parser.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |         Typedef ty[ty] Id(name) => TypeDef {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> cparser/src/parser.rs:93:9
[INFO] [stdout]    |
[INFO] [stdout] 93 |         Id(name) => (name, None),
[INFO] [stdout]    |         ^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> cparser/src/parser.rs:94:9
[INFO] [stdout]    |
[INFO] [stdout] 94 |         Id(name) Assign IntLit(val) => (name, Some(val))
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]    --> cparser/src/parser.rs:127:9
[INFO] [stdout]     |
[INFO] [stdout] 127 |         ty[ty] Id(name) => VarDef { // int a
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]    --> cparser/src/parser.rs:132:9
[INFO] [stdout]     |
[INFO] [stdout] 132 |         ty[ty] Id(name) Assign expr[e] => VarDef {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]    --> cparser/src/parser.rs:136:9
[INFO] [stdout]     |
[INFO] [stdout] 136 |         ty[ty] Id(name) LBrk IntLit(len) RBrk => VarDef {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f_`
[INFO] [stdout]    --> cparser/src/ast.rs:228:21
[INFO] [stdout]     |
[INFO] [stdout] 228 |             For(ref f_) => write!(f, "for"),
[INFO] [stdout]     |                     ^^ help: if this is intentional, prefix it with an underscore: `_f_`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> cparser/src/ty.rs:153:21
[INFO] [stdout]     |
[INFO] [stdout] 153 |         if let Some(name) = &self.name {
[INFO] [stdout]     |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> cparser/src/lexer.rs:191:21
[INFO] [stdout]     |
[INFO] [stdout] 191 |         _ => panic!(format!("Unknown escape character '{}'", tok)),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_fmt_panic)]` on by default
[INFO] [stdout]     = note: this is no longer accepted in Rust 2021
[INFO] [stdout]     = note: the panic!() macro supports formatting, so there's no need for the format!() macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 191 |         _ => panic!("Unknown escape character '{}'", tok),
[INFO] [stdout]     |                    --                                  --
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> cparser/src/ty.rs:154:13
[INFO] [stdout]     |
[INFO] [stdout] 154 |             write!(f, "defstruct {}: {{\n", self.name.as_ref().unwrap());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> cparser/src/ty.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 |             write!(f, "defstruct: {{\n");
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> cparser/src/ty.rs:159:13
[INFO] [stdout]     |
[INFO] [stdout] 159 |             write!(f, "{}", mem);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> cparser/src/ty.rs:161:9
[INFO] [stdout]     |
[INFO] [stdout] 161 |         write!(f, "}}");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 26 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "26079496cf898d42016f10bc270626cc067efd85c4c446018ea365780727aff8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "26079496cf898d42016f10bc270626cc067efd85c4c446018ea365780727aff8", kill_on_drop: false }`
[INFO] [stdout] 26079496cf898d42016f10bc270626cc067efd85c4c446018ea365780727aff8
